package model

type TaskClock struct {
	Id        int64 `json:"id" gorm:"column:id"`
	TaskId    int64 `json:"task_id" gorm:"column:task_id"`
	Time      int64 `json:"time" gorm:"column:time"`
	CreatedBy int64 `json:"created_by" gorm:"column:created_by"`
	Created   int64 `json:"created" gorm:"column:created"`
}

// 设置表名
func (TaskClock) TableName() string {
	return "task_clock"
}
